import request from '@/utils/request'

export function getSonCompanyList(data) {
  return request({
    url: '/company/getSonCompanyList',
    method: 'post',
    data
  })
}

export function addSonCompany(data) {
  return request({
    url: '/company/addSonCompany',
    method: 'post',
    data
  })
}

export function editSonCompany(data) {
  return request({
    url: '/company/editSonCompany',
    method: 'post',
    data
  })
}

export function resetSonCompanyAdmin(data) {
  return request({
    url: '/company/resetSonCompanyAdmin',
    method: 'post',
    data
  })
}